class Foo {
  constructor(name: string) {}
}

class Foo {
  constructor(public name: string) {}
}